package com.ct.ecommerce.api.base.client;

import com.ct.ecommerce.api.base.dto.DelayMessageDTO;
import java.util.Date;

/**
 * @author changtong
 * @since 2021/6/21
 */
public interface DelayMessageService {

    /**
     * 发送延迟消息
     * @param message
     * @param startSendTime
     * @return
     */
    Boolean sendDelay(DelayMessageDTO message, Date startSendTime) throws Exception;

}
